<script>
  for (var i = 1; i <= 5; ++i) {
    console.log('i=' + i);
    if (i == 3) {
      break;
    }
    console.log('ending');
  }
</script>
<p>
  <a href="file:///C:/Users/rise/Desktop/%E9%A6%96%E9%A1%B5/default/02.html">返回</a>
</p>